/**
* @description: 表体编辑后事件
* @param: moduleId 区域编码
* @param: key 当前字段编码
*/
export function afterTableEvent(props, moduleId, key, value, changedrows, index, record, type, method) {

    if (key == 'ndisc_rate') {
        if (value != null && value != undefined && value != '') {
            props.cardTable.setValByKeyAndIndex('card_body', index, 'ndprice', { display: null, scale: null, value: null, isEdit: false });

        }

    }
    if (key == 'ndprice') {
        if (value != null && value != undefined && value != '') {
            props.cardTable.setValByKeyAndIndex('card_body', index, 'ndisc_rate', { display: null, scale: null, value: null, isEdit: false });
        }
    }

}
